#ifndef __COMPRESS_GPU_H__
#define __COMPRESS_GPU_H__
#include"mian_util.h"
#include"cutil_inline.h"
void gpu_binary_encoding(uint8* data, uint32 dataSize, uint8* out);
void gpu_delta_encoding(uint32* data, uint32 dataSize);
void gpu_delta_decoding(uint32* data, uint32 dataSize);
void gpu_golomb_coding(uint32* d_data, uint32 dataSize, uint32* d_dataPos, uint8* d_out, uint32* outBitSize);
void gpu_golomb_coding(uint8* d_data, uint32 dataSize, uint32* d_dataPos, uint8* d_out, uint32* outBitSize);

//test
void gpu_binary_encoding_test(uint8* data, uint32 dataSize, uint8* out);
void gpu_delta_encoding_test(uint32* data, uint32 dataSize);
void gpu_golomb_coding_test(uint32* data, uint32 dataSize, uint8* out, uint32* outBitSize);
void gpu_golomb_coding_test(uint8* data, uint32 dataSize, uint8* out, uint32* outBitSize);



#endif

